package com.jytc.framework.constants;

import java.util.List;

import com.jytc.framework.annotation.Config;
import com.jytc.framework.annotation.ElementTextCollection;
import com.jytc.framework.annotation.XmlConfigLoader;

/**
 * 
 * @title:URL常量类 
 * @description: 需要过滤的URL地址常量
 * 
 * @author: dongyuese
 *
 */
@Config
@XmlConfigLoader(file = "url_config.xml", refreshTime = 60 * 60)
public class UrlConstants
{
	/**系统登录页*/
	public static final String LOFIN_PAGE = "/admin/jsp/login.jsp";

	/**系统登录主页面*/
	public static final String MAIN_PAGE = "/admin/jsp/main.jsp";

	/**后台管理系统统一信息页面*/
	public static final String INFORMATION_PAGE = "/admin/jsp/informations.jsp";

	/**后台管理系统统一错误页面*/
	public static final String ERR_PAGE = "/admin/jsp/errors.jsp";

	/**不需过滤页面*/
	@ElementTextCollection(xpath = "/url-config/notFilterUrls/url")
	public static List<String> NOT_FILTER_PAGE_LIST;

	/**
	 * 上传图片共享目录
	 */
	public static String imageUploadShare;
}
